//
//  HomeBrandCell.m
//  LocalGoods2
//
//  Created by 黄晓冬 on 2018/10/25.
//  Copyright © 2018年 Xiaodong Huang. All rights reserved.
//

#import "HomeBrandCell.h"
#import "Header.h"

@interface HomeBrandCell ()
@property (nonatomic, strong) UIImageView *imageButon;
@end

@implementation HomeBrandCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setUpUI];
    }
    
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setUpUI {
    self.imageButon = [[UIImageView alloc] init];
    self.imageButon.image = image(@"HTBY");
    //self.imageButon.contentMode = UIViewContentModeScaleAspectFit;
    [self.contentView addSubview:_imageButon];
    
    [_imageButon mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.offset(0);
        make.top.offset(10);
        make.height.offset(120);
    }];
}

@end
